<template>
  <div class="vip-group-page">
    <p class="success-text">
      <svg-icon iconClass="success"/>
      <span>恭喜您成为VIP</span>
    </p>
    <p>扫码加入VIP微信群，第一时间响应您需求！</p>
    <div>
      <img src="../../assets/todo-code.png" class="vip-code-img" alt="" v-if="appInfo.appID==='111'">
      <img src="../../assets/paper-code.png" class="vip-code-img" alt="" v-else-if="appInfo.appID==='125'">
      <img src="../../assets/code-vip-everything.png" class="vip-code-img" alt="" v-else-if="appInfo.appID==='144'">
      <img src="../../assets/vip-code.png" class="vip-code-img" alt="" v-else>
    </div>
  </div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
  name: 'VIPGroup',
  computed: {
    ...mapGetters(['appInfo'])
  },
  created () {
    this.$xz('xz_set_window_size', 'XZDesktopVIPGroup', 370 + 16, 290 + 16)
    this.$xz('xz_page_load_finished', 'XZDesktopVIPGroup')
  }
}
</script>
<style lang="scss" scoped>
.vip-group-page{
  height: 100%;
  padding-top: 52px;
  background: linear-gradient(180deg, #FFFFEC 0%, #E4FFFE 100%);
  text-align: center;
  color: #333;
  border-radius: 6px;
  overflow: hidden;
  .success-text{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    font-size: 18px;
    font-weight: bold;
    color: #D8A04B;
    .svg-icon{
      margin-right: 10px;
      font-size: 30px;
    }
  }
  .vip-code-img{
    width: 130px;
    height: 130px;
    margin-top: 19px;
  }
}
</style>
